package cn.myjerry.io.file;

import java.io.File;

/**
 * 两个常量
 * 1、路径分隔符 File.pathSeparator
 * 2、名称分隔符 File.separator
 * @author Jerry
 *
 */
public class Demo01 {
	public static void main(String[] args) {
		System.out.println(File.pathSeparator);
		System.out.println(File.separator);
		// 路径表示形式
		//String path = "/Users/zpon/Desktop/赞购/app-release.apk";
		String path = File.separator + "Users" + File.separator + "zpon" + File.separator + "Desktop" + File.separator + "赞购" + "app-release.apk";
		System.out.println(path);
	}
}
